<%@ page contentType="text/html;charset=UTF-8"
         language="java" pageEncoding="UTF-8"
        isErrorPage="true"
%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%!
    public void a(){}

    private String name;
%>
<!--
    JSP九大内置对象只能在JSP脚本和JSP表达式中使用，不可以在JSP声明当中使用
-->
<%
    // request对象
    request.getHeaders("");
    request.getParameter("");
    HttpSession session1 = request.getSession();
    ServletContext servletContext = request.getServletContext();
    request.getMethod();
    request.getRequestDispatcher("").forward(null, null);

    // response对象
    response.setHeader("context-type", "");
    response.sendRedirect("");

    // config对象  ServletConfig
    config.getServletName();

    // page 对象   this   Object
    page.getClass();

    // out对象   向浏览器输出内容
    out.println();

    // session对象
    session.getId();

    // application对象  ServletContext
    application.getAttribute("");

    // pageContext
    pageContext.setAttribute("", "");

    Object obj = exception;
    exception.getMessage();

%>
</body>
</html>
